package com.ruoyi.system.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domain.app.*;

import java.util.List;

public interface DeviceService {

    DeptWxInfo getDeptWxInfo(Long deptId);

    void setDeptWxInfo(Long deptId,String appId,String appSecret,String mchId,String wxKey);

    void deviceBindCommunity(Long communityId,String deviceNum);

    void deviceUnBindCommunity(Long deviceId);

    List<PowerBilling> getPowerBilling(Long deviceId);

    void resetPowerBilling(List<PowerBilling> powerBillings);

    void addDevice(Device device);

    void delDevice(Long deviceId);

    void setDevice(Device device);

    void socketBindQc(Long deviceId,String socketNo,String qcCode);

    AjaxResult setDeviceConfig(Device device);

    void setDeviceRestart(String deviceNum);

    List<Device> deviceList(Device device);

    List<DeviceSpace> deviceSpaceList(Long deviceId);

    void deviceOpenDoor(String deviceNum,Integer holeNum,Integer type);

    void holeState(String deviceNum,Integer holeNum,Integer holeState);

    void chargeRestart(String deviceNum);

    List<DeviceWarning> deviceWarningList(String deviceNum);


    Long createRecharge(String deviceNum, Integer chargeTime,Integer socketNo);

}
